<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="test">
{{name}}
</div>
<script type="text/javascript" src="js/mvvm/compile.js"></script>
<script type="text/javascript" src="js/mvvm/mvvm.js"></script>
<script type="text/javascript" src="js/mvvm/observer.js"></script>
<script type="text/javascript" src="js/mvvm/watcher.js"></script>
<script type="text/javascript">
    const vm = new MVVM({
        el: '#test',
        data: {
            name: 'feifei'
        }
    })
    console.log(vm.name)
    vm.name="fdfd"
    console.log(vm.name)
</script>
</body>
</html>
